package com.hn.common.exception;

/**
 * 短信验证码异常
 */
public class MsgCodeException extends RuntimeException {
    public MsgCodeException() {
    }

    public MsgCodeException(String message) {
        super(message);
    }

    public MsgCodeException(String message, Throwable cause) {
        super(message, cause);
    }

    public static MsgCodeException exception(String message){
        return new MsgCodeException(message);
    }
}
